package io.github.hayeka.a2_howtodebugsimulateconcurrentscene.dao;

import io.github.hayeka.a2_howtodebugsimulateconcurrentscene.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @program:
 * @description:
 * @author:
 * @create: 2021/9/3
 **/
public interface UserDao extends JpaRepository<User,Long> {

    List<User> findByEmail(String email);

}
